from datetime import datetime


def get_real_datetime(datetime_input=""):
    if datetime_input != "":
        return datetime.strptime(datetime_input, "%Y-%m-%d %H:%M")
    else:
        return datetime.now()
